package chapte12.a;

/**
 * 运动员类
 */
public class Athlete extends Mankind implements Dive,Sprint,Shoot {
    public Athlete(String nationality,String name,String gender,int age){
        super(nationality,name,gender,age);
    }

    /***简绍*/
    @Override
    public void synopsis() {
        System.out.println("来自"+getNationality()+"的   " + getName() + " " +getGender() + " 今年" +getAge());
    }

    /*** 跳水*/
    @Override
    public void dive() {
        System.out.println(getName()+"会跳水");
    }

    /*** 短跑*/
    @Override
    public void shoot() {
        System.out.println(getName()+"会短炮");
    }

    /***射击*/
    @Override
    public void sprint() {
        System.out.println(getName()+"会射击");
    }



}
